#!/bin/bash

sudo systemctl disable irqbalance
sudo systemctl stop irqbalance

# 加载RTAI基础模块
sudo insmod /usr/realtime/modules/rtai_hal.ko
sudo insmod /usr/realtime/modules/rtai_sched.ko
sudo insmod /usr/realtime/modules/rtai_shm.ko
sudo insmod /usr/realtime/modules/rtai_sem.ko

# 加载我们的模块
sudo insmod rtai_threadripper.ko

# 查看内核日志
dmesg | tail -20
